\hypertarget{algorithms_8h}{
\section{basic/algorithms.h \-File \-Reference}
\label{algorithms_8h}\index{basic/algorithms.\-h@{basic/algorithms.\-h}}
}


\-Defines some general purpose algorithms.  


{\ttfamily \#include $<$nih/basic/types.\-h$>$}\*
\subsection*{\-Functions}
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$typename Iterator , typename Predicate $>$ }\\\-F\-O\-R\-C\-E\-\_\-\-I\-N\-L\-I\-N\-E \-N\-I\-H\-\_\-\-H\-O\-S\-T\-\_\-\-D\-E\-V\-I\-C\-E \*
\-Iterator {\bfseries nih\-::find\-\_\-pivot} (\-Iterator begin, const uint32 n, const \-Predicate predicate)
\item 
{\footnotesize template$<$typename Iterator , typename Value $>$ }\\\-F\-O\-R\-C\-E\-\_\-\-I\-N\-L\-I\-N\-E \-N\-I\-H\-\_\-\-H\-O\-S\-T\-\_\-\-D\-E\-V\-I\-C\-E \*
\-Iterator {\bfseries nih\-::lower\-\_\-bound} (const \-Value x, \-Iterator begin, const uint32 n)
\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\-Defines some general purpose algorithms. 